home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1999 November / SGI IRIX 6.5 Applications 1999 November.iso / dev / insight_dev.idb / usr / share / Insight / samples / IP / sample.finished / Makefile.z / Makefile
Encoding:
Makefile  |  1998-10-28  |  8.6 KB  |  260 lines

  1. #!smake -r
  2. # Makefile for making a book
  3. #
  4. # Building books and figures:
  5. # To build the print figures for the book issue the command 'make print',
  6. #    this must be done in order to populate the print directory with your
  7. #    figures - your files must reference the figures from the print
  8. #    directory not the orig directory.
  9. # To build the book issue the command 'make book'.
  10. #
  11. # Cleaning up files:
  12. # To remove the master sgml file and books directory use 'make clean_book'.
  13. # To remove the *.sgm files issue 'make clean_sgm'.
  14. # To clean up all the figures use 'make clean_figures'.
  15. #   Do this only if you really want to clean up your figures directories and
  16. #   you haven't done any figure conversions by hand.
  17. # To clean up everything issue 'make clobber' - this includes the figures.
  18.  
  19. # Edit this file in the locations specified.
  20.  
  21. # Location 1: The TITLE, FULL_TITLE, and VERSION Variables
  22. #
  23. # TITLE defines the short title of the book.  Please verify the
  24. # short title with your production editor.  
  25. #
  26. # This title must be a valid directory name and not contain any special
  27. # characters or a leading '.'  Do not have a trailing space on the TITLE line.
  28. #
  29. # FULL_TITLE defines the full title for the book as it should appear
  30. # next to the icon on an InSight bookshelf.
  31. #
  32. # VERSION defines the version number for this release of the product
  33. # and is displayed when the 'Product Info' item off the 'Help' menu is
  34. # selected.
  35. #
  36. # TITLE = SiliconSurf
  37. # FULL_TITLE = "Silicon Surf Help Book"
  38. # VERSION = 1.0
  39.  
  40. TITLE  = sample_book
  41. FULL_TITLE = "Insight_Dev Sample Book" 
  42. VERSION = 
  43.  
  44. include  ${ROOT}/usr/include/make/commonbookdefs
  45.  
  46. # Location 2: The BOOKSHELF, BOOK_LANG, DOC_TYPE, and HIDDEN Variables
  47. #
  48. # The BOOKSHELF variable defines the bookshelf that the book will
  49. # appear on in the Insight library view. Valid entries for SGI
  50. # Tech Pubs are SGI_EndUser (the default), SGI_Developer, and 
  51. # SGI_Admin. 
  52. #
  53. # The BOOK_ICON variable defines the icon the book will have on the
  54. # bookshelf.  The values available are 'sgi_end_user' for End User books
  55. # 'sgi_admin' for Administrator books, 'sgi_developer' for Developer books,
  56. # 'binder' for Support and other "binder" type books, and 'generic' for all
  57. # other books.  The default is 'generic'.
  58. #
  59. # The BOOK_LANG variable defines the base language of the book and
  60. # changes translator-defined strings in the book to the specified language.
  61. # The supported values are C (the default), which is English; de for
  62. # German; and fr for French.  Case of the letters is important. No other
  63. # values are supported other than C, de, and fr.
  64. #
  65. # The DTD variable defines the Document Type Definition that the
  66. # SGML conforms to.  Currently available options are SGIDOC for the
  67. # standard SGI DTD; XHELP for the XHelp DTD; DOCBOOK for the Davenport
  68. # DocBook DTD, and OTHER for any customized DTD.  Case of the letters
  69. # is important.
  70. #
  71. # If OTHER is specified on the DTD variable then DTD specific
  72. # stylesheets must be created and placed in a directory called 'styles',
  73. # a booklist.txt file must be created, an EBT specific DTD must be
  74. # created and called TITLE.dtd, and if the files needs a MIF to SGML
  75. # translator then that must be specified on a variable called
  76. # OTHER_TRANSLATOR - specifying any other arguments that that translator
  77. # might need - other than the file to translate.
  78. #
  79. # All other DTD's automatically set up these for you.  The default
  80. # is to use the SGIDOC DTD.
  81. #
  82. # The DOC_TYPE variable defines the SGML tag type for the contents of
  83. # the book.  All Tech Pubs books are MANUAL (which is the default) while
  84. # CSD Support books should be SUPPORT.  No other values are supported.
  85. #
  86. # The SORT_ORDER variable defines the order this book should appear on
  87. # the bookshelf.  It is a numeric value that can be used to sort the
  88. # books on a bookshelf.  This number should be gotten from your
  89. # production editor.  A default of 999 is used if none is specified.
  90. #
  91. # The HIDDEN variable defines whether this book will be displayed when
  92. # this book is accessed via the InSight library browser rather than the
  93. # SGIHelp browser from the application. The default is to keep XHELP
  94. # based books hidden and all other's not hidden.
  95. #
  96. # If you need to define a value other than the default, uncomment the
  97. # appropriate line and define the value.
  98. #
  99. # BOOKSHELF = /usr/share/Insight/library/SGI_bookshelves/SGI_Developer
  100. # BOOK_ICON = sgi_developer
  101. # BOOK_LANG = C
  102. # DTD = SGIDOC
  103. # DOC_TYPE = MANUAL
  104. # SORT_ORDER = 999
  105. # HIDDEN = FALSE
  106.  
  107. # Location 3: The BOOK_FILES Variable
  108. #
  109. # List the content files in *CORRECT* order that they appear in the book.
  110. # DO NOT list any generated files (i.e., TOC, LOT, IX, etc).
  111. # Use trailing '\' for continuing onto the next line.
  112. # Don't end the last line of file names with trailing '\'.
  113. # Each line of filenames after the first line should have a leading 
  114. # tab character.
  115. #
  116. # BOOK_FILES =     front.doc        \
  117. #        ch1.doc  ch2.doc    \
  118. #        appa.doc appb.doc
  119.  
  120. BOOK_FILES = front.doc \
  121.           intro.doc \
  122.           01paratags.doc \
  123.           02chartags.doc \
  124.           03tables.doc \
  125.           04launch.doc \
  126.           05lineart.doc \
  127.           06ps.doc \
  128.           07rgb.doc \
  129.           08composite.doc \
  130.           09index.doc \
  131.           10gloss.doc \
  132.           11xref.doc \
  133.           12inventor.doc \
  134.           13movie.doc \
  135.           14conditional.doc \
  136.           glossary.doc
  137.  
  138. # NOTES ON FIGURES: 
  139. #
  140. # Every figure you want to appear in paper and online MUST appear
  141. # only once on the following lines.
  142. #
  143. # All figure names must be listed as they appear in the 'orig' directory.
  144. #
  145. # For any composite figures - list each file on the PRINT_BW line.
  146.  
  147. # Location 4: The PRINT_BW Variable
  148. #
  149. # List the name of each .rgb figure from the orig directory that 
  150. # should be converted to black and white in the print directory.  
  151. # These figures will be converted to color GIF online.
  152. #
  153. # PRINT_BW = figure1.rgb figure2.rgb
  154.  
  155. PRINT_BW = figure.rgb figure2.rgb
  156.  
  157.  
  158. # Location 5: The PRINT_COLOR Variable
  159. #
  160. # List the name of each .rgb figure from the orig directory that should
  161. # be kept in color in the print directory.  These figures will be 
  162. # converted to color GIF online.  
  163. #
  164. # Also list any .rgb figures in the orig directory that have been 
  165. # processed to b/w using tobw. Note that such figures will appear 
  166. # in black and white online. 
  167. #
  168. # If you don't want a figure converted to GIF online, but kept in 
  169. # 24-bit RGB, use the RGB variable instead of the PRINT_COLOR variable.
  170. #
  171. # PRINT_COLOR = figure3.rgb figure4.rgb
  172.  
  173. PRINT_COLOR =
  174.  
  175. # Location 6: The PostScript Variable
  176. #
  177. # List the name of each PostScript figure in the orig directory that
  178. # should be remain PostScript in the print directory and convert to 
  179. # GIF online.
  180. #
  181. # PostScript = figure5.ps figure6.ai
  182.  
  183. PostScript = figure3.ps
  184.  
  185.  
  186. # Location 7: The GIF Variable
  187. #
  188. # List the name of each .gif figure in the orig directory that
  189. # should be kept GIF in both the print and online directories.
  190. #
  191. # GIF = figure7.gif
  192.  
  193. GIF =
  194.  
  195. # Location 8: The RGB Variable
  196. #
  197. # List the name of each .rgb figure from the orig directory that
  198. # should be kept 24-bit RGB in both the print and online directories.
  199. #
  200. # RGB = figure8.rgb
  201.  
  202. RGB =
  203.  
  204. # Location 9: The XWD Variable
  205. #
  206. # List the name of each .xwd figure from the orig directory that
  207. # should be kept in XWD format in the print directory and converted 
  208. # to GIF online.
  209. #
  210. # XWD = figure9.xwd
  211.  
  212. XWD =
  213.  
  214. #
  215. # Location 10: The BW Variable
  216. #
  217. # List the name of each .bw figure from the orig directory that
  218. # has already been run through tobw and is referenced in your book
  219. # by it's .bw suffix
  220. #.
  221. # The files should not appear on any of the above PRINT_ lines.
  222. # These images will remain in black and white online as well.
  223. #
  224. # BW = figure10.bw
  225.  
  226. BW =
  227.  
  228. # Location 11: The INLINE_MEDIA Variable
  229. #
  230. # List the name of any inline media objects from the orig directory
  231. # that are referenced by your book.  These could be movie, audio, and
  232. # Inventor files.
  233. #
  234. # INLINE_MEDIA = movie.mv
  235.  
  236. INLINE_MEDIA = Collage_4.mv cone.iv
  237.  
  238. # Location 12: The MISC_FILES Variable
  239. #
  240. # List the name of any other files that you want to be installed in the
  241. # figures directory.  These files must exist in the orig directory and
  242. # would be files like the hot-spot data files, auxillary files for
  243. # the INLINE_MEDIA files, C program text, and any other files that
  244. # you absoluletly want to have installed with the book.
  245. #
  246. # NOTE: No QA testing will be done with these figures since they may
  247. # not be referenced directly by the SGML source file but rather indirectly
  248. # via other files.  These files will be copied down and shipped with the
  249. # book so make sure you don't list any cruft on this line.
  250. #
  251. # NOTE: If you do NOT have any figures that should be copied down - then
  252. # do NOT uncomment this line as an empty definition will break your build.
  253. # MISC_FILES = figure1.rgb.hot
  254.  
  255. # MISC_FILES =
  256.  
  257. include  ${COMMONBOOKRULES}
  258. include  ${COMMONPREPRULES}
  259.